//
//  COCOAFANBubbleView.h
//  CocoaFan
//
//  Created by Chen Xianan on 2/28/09.
//  Copyright 2009 realazy.org All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "AppController.h"

#define CORNER_RADIUS 5
#define ARROW_TOP 10
#define ARROW_WIDTH 10
#define ARROW_HEIGHT 10

@interface COCOAFANBubbleView : NSView {
	COCOAFAN_STATUS_TYPE statusType;
	BOOL selected;
	BOOL read;
	IBOutlet NSTextField *statusField;
}

@property (assign) COCOAFAN_STATUS_TYPE statusType;
@property (assign, getter=isSelected) BOOL selected;
@property (assign, getter=isRead) BOOL read;

- (NSBezierPath *)bezierPathWithRect:(NSRect)rect;

@end
